package com.example.demo.pattern.single;

public class SingleByStatic {

    private static SingleByStatic singleByStaticObj;


    static {
        singleByStaticObj = new SingleByStatic();
    }


    public static SingleByStatic getSingleInstance() {
        return singleByStaticObj;
    }

}
